package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.UserActorEntity;

/**
 * Created by xu-jiaHui on 2017/4/8.
 */
public class UserActorDto {
    private Integer auId;
    private Integer actorId;
    private Integer userId;

    public UserActorDto(Integer actorId, Integer userId) {
        this.actorId = actorId;
        this.userId = userId;
    }

    public Integer getAuId() {
        return auId;
    }

    public void setAuId(Integer auId) {
        this.auId = auId;
    }

    public Integer getActorId() {
        return actorId;
    }

    public void setActorId(Integer actorId) {
        this.actorId = actorId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public UserActorEntity toBean(){
        UserActorEntity userActorEntity=new UserActorEntity();
        userActorEntity.setActorId(actorId);
        userActorEntity.setUserId(userId);
        return userActorEntity;
    }
}
